package com.example.demo.entity;


import org.springframework.http.HttpStatus;

public class ResponseEntity {
  private int code;
  private String msg;
  private Object object;

  public ResponseEntity(boolean acknowledged, HttpStatus ok) {
  }

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public String getMsg() {
    return msg;
  }

  public void setMsg(String msg) {
    this.msg = msg;
  }

  public Object getObjects() {
    return object;
  }

  public void setObject(Object object) {
    this.object = object;
  }

  public ResponseEntity() {
  }

  public ResponseEntity(int code, String msg, Object object) {
    this.code = code;
    this.msg = msg;
    this.object = object;
  }
}
